package fun.werfamily.wf.goods.core.domain.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * goods_sku
 * @author 
 */
@Data
@ApiModel("商品sku实体")
public class GoodsSkuDTO implements Serializable {
    @ApiModelProperty("spu编码")
    private String spuCode;

    @ApiModelProperty("sku编码")
    private String skuCode;

    @ApiModelProperty("商品名称")
    private String skuName;

    @ApiModelProperty("缩略图")
    private String shortImage;

    @ApiModelProperty("条码")
    private String barCode;

    @ApiModelProperty("副标题")
    private String subtitle;

    @ApiModelProperty("市场价、划线价")
    private BigDecimal marketPrice;

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("售价")
    private BigDecimal salesPrice;

    @ApiModelProperty("是否包邮")
    private Boolean isFreeShipping;

    @ApiModelProperty("库存数量")
    private Integer stock;

    @ApiModelProperty("计量单位")
    private String unit;

    @ApiModelProperty("商品规格值拼接")
    private String specValues;

    @ApiModelProperty("商品规格")
    private List<GoodsSpecValueDTO> goodsSpecValueDTOList;
}